<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单列表</title>
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/comm.css">
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/global.css">
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/information.css">
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/infolist.css">
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/member.css">
<link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/front/static/css/order-list.css">
</head>
<body>
<!-- header start -->
[#include "templates/${config.theme}/front/header.html"]
<!-- header end -->
<div class="f-cb g-body">
	<!-- menu start -->
	[#include "templates/${config.theme}/front/memberHelpTop.html"]
	<!-- menu end -->
	<div class="block clearfix">
		<div class="g-side">
			<!-- menu start -->
			[#include "templates/${config.theme}/front/memberMenu.html"]
			<!-- menu end -->
		</div>
   		<div class="g-ol">
			<h2 class="m-title">我的订单</h2>
   			<div class="g-container">
       			<div id="J_order_list">
              		<table class="m-table">
						<colgroup>
							<col class="c1">
							<col class="c2">
							<col class="c3">
							<col class="c4">
							<col class="c5">
						</colgroup>
						<tr class="col-name">
			                <th>订单号</th>
			                <th>下单时间</th>
			                <th>订单总金额</th>
			                <th>订单状态</th>
			                <th>操作</th>
		              	</tr>
                       	<tbody>
                       		[#list page.list as order]
								<tr class="order-hd">
									<td colspan="5"> &nbsp;  &nbsp;  &nbsp; 
										<span class="num">订单号：<a href="javascript:;;" class="f6">${order.sn}</a><em class="type">&nbsp;&nbsp;</em></span>
										<span class="recipients">收货人：${order.consignee}</span>
										<span class="time">下单时间：${order.createDate}</span>
									</td>
								</tr>
		                            <tr class="order-bd">
										<td colspan="2">
											<table>
												[#list order.orderItems as orderItem]
												<tr>
													<td class="goods">
														<a class="pic" target="_blank" href="javascript:;"><img width="50" height="63" alt="" src="${orderItem.image}"></a>
														<div class="goods-info">
													     	<a class="name" href="javascript:;">${orderItem.name}</a>
														</div>
													</td>
													<td  class="price">
														<p>
															<strong>￥${orderItem.price}</strong>
														</p> 
													</td>
												</tr>
												[/#list]
											</table>
										</td>
										<td>
											￥${order.amount}
										</td>
										<td>
											${order.statusName}
										</td>
										<td>
											[#if order.status=='pendingPayment']<a href="${base}/payment?orderId=${order.id}" target="_blank">支付</a>[/#if]
										</td>
									</tr>
							[/#list]
               			</tbody>
					</table>
       			</div>
       		</div>
       	</div>
	</div>
</div>
<!-- footer start -->
[#include "templates/${config.theme}/front/footer.html"]
<!-- footer end -->
</body>
</html>

   
